<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>柒章私人影吧</title>
    <link rel="stylesheet" href="assets/css/main.css"/>
</head>
<body class="detail" data-page="detail">
    <div class="header">
        <a class="back">返回</a>
        <span class="time" id="j_time"></span>
        <div class="search">
            <input type="text" placeholder="搜索影片">
            <button></button>
        </div>
        <div class="user" id="j_user"></div>
    </div>

    <div class="section" id="wrap"></div>

    <script type="text/template" id="tpl_user">
        <% if(this.name) { %>
        <div class="info">
            <a class="avatar"></a>
            <div class="more" id="j_user">
                <a class="avatar"></a>
                <span>{{this.name}}</span>
                <span>用户等级:{{this.level}}</span>
                <a class="signout">退出</a>
            </div>
        </div>
        <% }else{ %>
        <a href="sign.html" class="signin">登录</a>
        <% } %>
    </script>

    <script type="text/template" id="tpl">
        <div class="thumb">
            <img src="{{this.detail.thumb}}" alt="{{this.detail.MovieName}}">
        </div>
        <div class="desc">
            <h2>{{this.detail.MovieName}}</h2>
            <span class="short">{{this.detail.MovieTime}}年  {{this.detail.MovieFrom}}  {{this.detail.MovieCKSort}}</span>
            <p>导演：{{this.detail.MovieDirector}}</p>
            <p>主演：{{this.detail.MovieActor}}</p>
            <p class="summary">{{this.detail.MovieIntro}}</p>
            <% if(this.file.length == 1) { %>
            <button class="play" data-id="{{this.file[0].FileListID}}" data-ext="{{this.file[0].FileType}}"><i>立即播放</i></button>
            <% }else{ %>
            <div class="episode">
                <each this.file>
                    <a class="play" data-id="{{FileListID}}" data-ext="{{FileType}}">{{FileDisplayName}}</a>
                </each>
            </div>
            <%}%>
        </div>
    </script>
    <script src="api.asp?a=config_base&type=js"></script>
    <script src="assets/js/jquery.js"></script>
    <script src="assets/js/H.js"></script>
    <script src="assets/js/app.js"></script>
</body>
</html>